package com.qiy.java8;

import com.qiy.java8.entity.Employee;

/**
 * Created on 2020/4/21.
 *
 * @author sehuaqi.
 * 描述：
 */
public class FilterEmployeeBySalary implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee emp) {
        return emp.getSalary() >= 5000;
    }
}
